﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace mvLibrary.Helpers.Utils
{
    public static class MessageBoxCreator
    {
        public static void SecurityMessage(string menuItemText, string securityName)
        {
            MessageBox.Show(MessageUtils.NombreDeSeguridad(menuItemText, securityName), "Segurizacion");
        }
        
        public static void FullAccessSecurityMessage(string menuItemText,  string fullAccessName)
        {
            MessageBox.Show(MessageUtils.NombreDeSeguridadFull(menuItemText, fullAccessName), "Segurizacion");
        }

        public static void ErrorMessage(string message, string title)
        {
            MessageBox.Show(message, title, MessageBoxButtons.OK, MessageBoxIcon.Error);
        }

        internal static void SecurityScreenAccessMessage(string accion)
        {
           MessageBox.Show(MessageUtils.SecurityScreenAccessMessage(accion),"Acceso Denegado");
        }
    }
}
